<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>数组遍历</title>
	</head>
	<body>
		<script>
			var n=["Java","JavaScript","MySQL","Android","企业项目实战"];
			for(var i=0;i<n.length;i++){
				document.writeln(n[i]);
				document.write("</br>");
			}
			document.write("</br>");
			for(var j in n){
				document.writeln(n[j]);
				document.write("</br>");
			}document.write("</br>");
			for(var value of n){
				document.writeln(value);
				document.write("</br>");
			}
		</script>
	</body>
</html>
